Resolve inaccurate ultrasonic sensor readings on Nucleo boards caused by timer interrupt interference during measurement windows.